﻿#include <sb.h>

int main()
{
	k_mesg("FUSE TEST\n");

	kFuse* fs = kFuse::New();
	fs->AddMount("cs_fuse.hfs");

	kStream* st;

	st = fs->OpenFile("/texture/z.bmp", NULL);
	k_mesgf("/texture/z.bmp -> %p (size=%lld)\n", st, st->GetSize());
	kobj_unload(st);

	st = fs->OpenFileIndirect("/texture/@.png");
	k_mesgf("/texture/@.png -> %p (size=%lld)\n", st, st->GetSize());
	kobj_unload(st);

	fs->Unload();

	return 0;
}
